-- GENERATED SPELL FOR [Sky Shadow] --


function spell0_7376(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7376', 15000, 1)
end

function Sorts_7376(pUnit, Event)
local choix_sorts_7376 = math.random(0, 0)
if choix_sorts_7376 == 0 then
pUnit:RegisterEvent('spell0_7376', 1, 1)
end
end

function mob7376_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7376', math.random(1500, 3000), 1)
end

function mob7376_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7376_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7376_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7376, 1, 'mob7376_Action')
RegisterUnitEvent(7376, 2, 'mob7376_Leave')
RegisterUnitEvent(7376, 3, 'mob7376_Kill')
RegisterUnitEvent(7376, 4, 'mob7376_Die')
